package com.bishe.psy.utils;

import java.util.UUID;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: L
 * Date: 2024-03-22
 * Time: 16:51
 */
public class UUIDUtil {

    //生成一个原始36位的随机字符
    public static String UUID_36() {
        return UUID.randomUUID().toString();
    }

    //生成一个系统需要的32位随机字符
    public static String UUID_32() {
        return UUID.randomUUID().toString().replace("-","");
    }
}
